
export default function createController(taro){
    let created=false;
    let swipeController;
    if(created){
        taro.swipeController= swipeController;
    }else{
        swipeController={
            _stopSwipe:false,
            onChangeStopSwipe:function (bool){
                this._stopSwipe=bool;
            },
            onGetStopSwipe:function(){
                return this._stopSwipe;
            }
        }
        created=true;
        taro.swipeController= swipeController;
    }
    
}